	var speedRoll = 30; //数字越大速度越慢
var tabRoll = document.getElementById("demoRoll");
var tabRoll1 = document.getElementById("demoRoll1");
var tabRoll2 = document.getElementById("demoRoll2");
tabRoll2.innerHTML = tabRoll1.innerHTML;
function MarqueeRoll() {
    if (tabRoll2.offsetWidth - tabRoll.scrollLeft <= 0)
        tabRoll.scrollLeft -= tabRoll1.offsetWidth
    else {
        tabRoll.scrollLeft++;
    }
}
var MyMarRoll = setInterval(MarqueeRoll, speedRoll);
tabRoll.onmouseover = function () { clearInterval(MyMarRoll) };
tabRoll.onmouseout = function () { MyMarRoll = setInterval(MarqueeRoll, speedRoll) };
